import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Emoji from '../views/Emoji.vue'
import Emoji2 from '../views/Emoji2.vue'

const router = createRouter({
    history: createWebHashHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            redirect: '/emoji',
        },
        {
            path: '/home',
            name: 'Home',
            component: Home,
        },
        {
            path: '/emoji',
            name: 'Emoji',
            component: Emoji,
        },
        {
            path: '/emoji2',
            name: 'Emoji2',
            component: Emoji2,
        },
    ],
})

export default router
